package cn.zhf.shop.service;

import cn.zhf.shop.entity.Message;
import org.springframework.stereotype.Service;

import java.io.UnsupportedEncodingException;

@Service
public interface PayService {

    Message pay(String orderId, String orderType, int periodization, String cardId) throws UnsupportedEncodingException;

    Message wxpay(String orderId, String orderType) throws UnsupportedEncodingException;

    Message refund(String orderid) throws UnsupportedEncodingException;

    void notify(String MerOrderNo,String TranDate, String OrderStatus, String InstMid, String AttachedData);

}
